package com.kamkor.interviewer.client.view;

import org.apache.commons.digester.SetTopRule;

import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.PushButton;
import com.kamkor.interviewer.client.Interviewer;
import com.kamkor.interviewer.client.resources.Resources;

public class DeleteQuestionAnswerButton extends PushButton {
	private Long id;
	
	public DeleteQuestionAnswerButton(Long id) {
		super(new Image(Resources.INSTANCE.deleteIcon()));	
		//setWidth("17px");
		setStyleName("deleteQuestionAnswerButton");
		setTitle(Interviewer.constants.delete());
		this.id = id;
	}
	
	public Long getId() {
		return id;
	}
}
